package cn.paidaxin;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.web.client.RestTemplate;

/**
 * @author Pai dx
 * @Description 派大星 Run
 * @date 2021-08-20 11:16
 **/
//@SpringBootApplication(exclude={DataSourceAutoConfiguration.class, HibernateJpaAutoConfiguration.class})
@SpringBootApplication
public class PaiDaXinApplication {

    public static void main(String[] args) {
        SpringApplication.run(PaiDaXinApplication.class,args);
    }


    @Bean
    public RestTemplate restTemplate(){
        return new RestTemplate();
    }

}
